package com.uy.system.lock.factory;

import com.uy.system.lock.DistributedLock;

/**
 * @Author LY
 * @create 2024/3/22 18:35
 * @Description 分布式锁工程接口
 */
public interface DistributedLockFactory {

    /**
     * 根据key获取分布式锁
     */
    DistributedLock getDistributedLock(String key);
}
